for area = 1; %length(Areas);
for row = 2:size(Circuit{area},1)
    for col = 5:size(Circuit{area},2)
        % find pre type and layer that matches this connection
        prename = Circuit{area}{1,col}
        layername = Circuit{area}{row,2}
        
        % find the axon radius to match.
        axonrow = -1;
        for r=2:size(Types,1)
            if strcmp(Types{r,1},prename)
                axonrow = r;
                break;
            end
        end
        
        axoncol = -1;
        for c=26:size(Types,2)
            if strcmp(Types{1,c},layername)
                axoncol = c;
                break;
            end
        end
   
        
        if(axoncol <=0 || axonrow <=0 )
            radius = 0;
            sigma = radius;
            
            if strcmp( prename, 'cort-cort' )
                radius = 0.5;
                sigma = 0.5;
            end
            
        else       
            radius = Types{ axonrow, axoncol };
            sigma = radius;
        end
        
        % override anything we've done.
        if( Circuit{area}{row,col} < 0.000001 )
            radius = 0;
            sigma = 0;            
        end
        Circuit{area}{row,col} = [Circuit{area}{row,col} radius sigma];

   end
end
end